const chainWebpack = require("./webpack/chainWebpack");
const configureWebpack = require("./webpack/configureWebpack");
const css = require("./webpack/css");

module.exports = {
  lintOnSave: true,
  publicPath: process.env.VUE_APP_BASEPATH,
  chainWebpack,
  configureWebpack,
  css,
  productionSourceMap: false,
  devServer: {
    proxy: {
      '/api/':{
        target: 'https://www.bgniao.cn', // 接口域名
        ws:true,
        changeOrigin:true  //是否跨域
      },
    },
    overlay: {
      warnings: true,
      errors: true,
    },
    progress:false,
  },
};
